#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

import sys

infile=open(sys.argv[1],"r")
outfile=open(sys.argv[1]+".plusc","w")
for line in infile:
    line=line.rstrip("\n")
    line=line.replace("wget","wget -c")
    outfile.write(line+"\n")
    outfile.flush()
infile.close()
outfile.close()
